/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ants;

import java.awt.Point;
import java.io.Serializable;
import java.util.LinkedList;

/**
 *
 * @author squirrel
 * 
 * Esta clase es la que va a conetener varias tiles
 * 
 */
public class Perspective_k implements Serializable{
    static final long serialVersionUID = -3729270794447980247L;
    public Tile_k[][] tiles;
    
    
    Perspective_k(Ant hormiga, Mapa m,int [][] random){
        tiles = new Tile_k[3][3];
        
       
        Point coordenada = hormiga.place;
        for(int x = 0; x < 9; x++) {
            tiles[(int)(x/3)][x%3] = new Tile_k(m.cells[coordenada.x+((int)(x/3))-1][coordenada.y+(x%3)-1],m.nplayers,random); 
        }
    }
}